const baseApi = 'localhost:10080'
function sendAjax(url, type, param, callback) {
    $.ajax({
        type: type,
        url: baseApi + url,
        data: param,
        dataType: 'json',
        success: callback,
        error: function() {
        }
    });
}